﻿using System;

namespace ApartmentBillsManager.Start.Common
{
    public class Debt
    {
        private DateTime _date;

        public Debt(Roommate to, decimal amount, DateTime date)
        {
            To = to;
            Amount = amount;
            Date = date;
        }

        public Roommate To { get; set; }

        public decimal Amount { get; set; }

        public DateTime Date
        {
            get { return _date.Date; }
            set { _date = value; }
        }
    }
}
